package org.gap.web.jsf;

import java.util.List;

import org.gap.domain.Patient;
import org.gap.domain.RendezVous;
import org.gap.domain.Tiers;

/**
 * Spring Component that handles CRUD requests for Patient entities
 * 
 */
public interface PatientComponent {

	/**
	 * View an existing RendezVous entity
	 * 
	 */
	public String selectPatientRendezVouses(Integer patient_patPatient, Integer related_rendezvouses_rdvRendezVous);

	/**
	 * Save an existing RendezVous entity
	 * 
	 */
	public String savePatientRendezVouses(Integer patient_patPatient_1, RendezVous rendezvous);

	/**
	 * Create a new RendezVous entity
	 * 
	 */
	public String newPatientRendezVouses(Integer patient_patPatient_2);

	/**
	 * Select the child RendezVous entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeletePatientRendezVouses(Integer patient_patPatient_3, Integer related_rendezvouses_rdvRendezVous_1);

	/**
	 * Create a new Patient entity
	 * 
	 */
	public String newPatient();

	/**
	 * Create a new Tiers entity
	 * 
	 */
	public String newPatientTiers(Integer patient_patPatient_4);

	/**
	 * Get Tiers entity by Patient
	 * 
	 */
	public Tiers getPatientTiers(Integer patPatientKey);

	/**
	 * Getter for variable Patient
	 * 
	 */
	public Patient getPatient();

	/**
	 * Delete an existing Patient entity
	 * 
	 */
	public String deletePatient(Integer patPatientKey_1);

	/**
	 * Getter for variable Patient
	 * 
	 */
	public Tiers getTiers();

	/**
	 * Delete an existing RendezVous entity
	 * 
	 */
	public String deletePatientRendezVouses(Integer patient_patPatient_5, Integer related_rendezvouses_rdvRendezVous_2);

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public String savePatientTiers(Integer patient_patPatient_6, Tiers tiers);

	/**
	 * Show all RendezVous entities by Patient
	 * 
	 */
	public List<RendezVous> listPatientRendezVouses(Integer patPatientKey_2);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public String deletePatientTiers(Integer patient_patPatient_7, Integer related_tiers_tieTiers);

	/**
	 * Select the Patient entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeletePatient(Integer patPatientKey_3);

	/**
	 * Select an existing Patient entity
	 * 
	 */
	public String selectPatient(Integer patPatientKey_4);

	/**
	 * View an existing Tiers entity
	 * 
	 */
	public String selectPatientTiers(Integer patient_patPatient_8, Integer related_tiers_tieTiers_1);

	/**
	 * Edit an existing RendezVous entity
	 * 
	 */
	public String editPatientRendezVouses(Integer patient_patPatient_9, Integer related_rendezvouses_rdvRendezVous_3);

	/**
	 * Edit an existing Patient entity
	 * 
	 */
	public String editPatient(Integer patPatientKey_5);

	/**
	 * Show all Patient entities
	 * 
	 */
	public List<Patient> listPatients();

	/**
	 * Save an existing Patient entity
	 * 
	 */
	public String savePatient(Patient patient);

	/**
	 * Select the child Tiers entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeletePatientTiers(Integer patient_patPatient_10, Integer related_tiers_tieTiers_2);

	/**
	 * Getter for variable Patient
	 * 
	 */
	public RendezVous getRendezvouses();

	/**
	 * Edit an existing Tiers entity
	 * 
	 */
	public String editPatientTiers(Integer patient_patPatient_11, Integer related_tiers_tieTiers_3);
}